﻿using System.Data.Objects;
using System.Diagnostics.CodeAnalysis;
using Repository;

namespace DataGenerator.DefaultSets
{
    /// <summary>
    /// Role set.
    /// </summary>
    public class RoleSet : SetBase<Role>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="RoleSet"/> class.
        /// </summary>
        /// <param name="objectSet">The object set.</param>
        public RoleSet(ObjectSet<Role> objectSet) : base(objectSet)
        {
        }

        [SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1126:PrefixCallsCorrectly",
            Justification = "Reviewed. Suppression is OK here.")]
        public Role Guest
        {
            get { return Get(() => Guest); }
            set { Set(() => Guest, value); }
        }

        public Role User
        {
            get { return Get(() => User); }
            set { Set(() => User, value); }
        }

        public Role Administrator
        {
            get { return Get(() => Administrator); }
            set { Set(() => Administrator, value); }
        }
    }
}